<extend name="Public/base" />
<block name="content">
    <div class="row">
        <div class="col-md-12">
            <div class="box">
                <div class="box-header">

                    <div class="row">
                        <div class="col-md-2"><h3 class="box-title">{$title}</h3></div>
                        <div class="col-md-offset-10"><a href="{:U('add')}" class="btn btn-info">添加</a></div>
                    </div>


                </div>
                <!-- /.box-header -->
                <div class="box-body">
                    <table id="example2" class="table table-bordered table-hover">
                        <thead>
                        <tr>
                            <th>序号</th>
                            [TITLE]
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <volist name="dataList" id="vo" empty="$empty">
                            <tr>
                                <td>{$i}</td>
                                [ELEMENT]
                                <td>
                                    <a  href="{:U('edit',['id'=>$vo['id']])}" class="glyphicon glyphicon-pencil" title="编辑"></a>&nbsp;&nbsp;&nbsp;
                                    <a  href="{:U('del',['id'=>$vo['id']])}" class="glyphicon glyphicon-remove" title="删除"></a>

                                </td>
                            </tr>
                        </volist>
                        </tbody>
                        <tfoot>
                        <tr>
                            <th colspan="10">{$pageHtml}</th>
                        </tr>
                        </tfoot>
                    </table>
                </div>
                <!-- /.box-body -->
            </div>
        </div>
    </div>

</block>
<block name="js">
    <script>

    </script>
</block>